<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>原型</title>
</head>
<body>

</body>
<script>
    const num = 0;
    class Person {
        constructor(props) {
            console.log(this,props);
            this.ab = '哈哈';
            this.props = props;
        }
        static a = 1;
        log = () =>{
            console.log(this.props)
        }
    }
    let person = new Person(num);

</script>
</html>
